package fragments;

import android.os.Bundle;
import android.support.v4.app.ListFragment;
import android.widget.ArrayAdapter;

public class FriendsFragment extends ListFragment {
	String[] friends = new String[] { "Mari", "Uika4ka", "GerA4ka", "Yari4ek",
			"Max", "Sergius" };

	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		super.onActivityCreated(savedInstanceState);

		ArrayAdapter<String> adapter = new ArrayAdapter<String>(getActivity(),
				android.R.layout.simple_list_item_1, friends);
		setListAdapter(adapter);
	}
}
